package StudentManagerSystem1;

public class User {
    private String name;
    private String passWord;
    private String id_Card;
    private String phone;

    public User() {
    }

    public User(String name, String passWord, String id_Card, String phone) {
        this.name = name;
        this.passWord = passWord;
        this.id_Card = id_Card;
        this.phone = phone;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return passWord
     */
    public String getPassWord() {
        return passWord;
    }

    /**
     * 设置
     * @param passWord
     */
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    /**
     * 获取
     * @return id_Card
     */
    public String getId_Card() {
        return id_Card;
    }

    /**
     * 设置
     * @param id_Card
     */
    public void setId_Card(String id_Card) {
        this.id_Card = id_Card;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String toString() {
        return  (name + "-" + passWord + "-" + phone + "-" + id_Card);
    }
}
